package hmvc4gwt.client.event;

public interface IHmvcEvent {
	
	/**
	 * contains the event any payload-object
	 * @return
	 */
	public boolean hasPayload();
	
	/**
	 * getter of the payload-Object
	 */
	public Object getPayload();
	
	/**
	 * setter of the payload-Object
	 */
	public void setPayload(Object payload);
	
	/**
	 * work-a-round for the not implemented Object.getClass()-Method
	 */
	public Class getClassOfObject();
}
